package com.arpa.oms.domain.dto;

import com.arpa.ntocc.common.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * OMS替换信息DTO
 * </p>
 *
 * @author rfwang
 * @since 2021年8月5日
 */
@Data
@ApiModel(value="OmsReplacedGoodsDTO对象", description="OMS替换信息")
public class OmsReplacedGoodsDTO extends BasicEntity {


    @ApiModelProperty(value = "替换商品code")
    private String code;

    @ApiModelProperty(value = "货主code")
    private String shipmentCode;

    @ApiModelProperty(value = "货主名称")
    private String shipmentName;

    @ApiModelProperty(value = "店铺编码code")
    private String shopCode;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "仓库code")
    private String warehouseCode;

    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;

    @ApiModelProperty(value = "原商品code")
    private String originalGoodsCode;

    @ApiModelProperty(value = "原商品编码code")
    private String originalGoodCode;

    @ApiModelProperty(value = "原商品名称")
    private String originalGoodsName;

    @ApiModelProperty(value = "替换商品code")
    private String replacedGoodsCode;

    @ApiModelProperty(value = "替换商品编码code")
    private String replacedGoodCode;

    @ApiModelProperty(value = "替换商品名称")
    private String replacedGoodsName;

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "oms销售单号集合")
    private List<String> saleCodes;

    @ApiModelProperty(value = "替换商品条码")
    private String replacedGoodsBarCode;

    @ApiModelProperty(value = "创建时间开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreatedStart;

    @ApiModelProperty(value = "创建时间结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtCreatedEnd;

    @ApiModelProperty(value = "修改时间开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtModifiedStart;

    @ApiModelProperty(value = "修改时间结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime gmtModifiedEnd;

    @ApiModelProperty(value = "创建人姓名")
    private String createdName;

    @ApiModelProperty(value = "修改人姓名")
    private String modifiedName;
}
